<div>
{% if msg %}
	<label>{{msg}}</label>
{% else %}
	<form method="post" action="/customer/modify">
	<div><label style="float:left">Email</label><input type="text" name="email" value="{{email}}" disabled="true"/></div>
	<div><label style="float:left">姓名</label><input type="text" name="name" value="{{customer.name}}"/></div>
	<div><label style="float:left">电话</label><input type="text" name="phone" value="{{customer.phone}}"/></div>
	<div><label style="float:left">地址</label><textarea name="address" rows="6" cols="20">{{customer.address}}</textarea></div>
	<div><label>注册时间:</label>{{customer.date|date:"Y-m-d H:i:s"}}</div>
	<input type="submit" value="更新"/>
	</form>
{% endif %}
</div>
